<?xml version="1.0" encoding="utf-8" ?>

<rdf:RDF
	xmlns="http://purl.org/rss/1.0/"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xml:lang="ja">
<channel rdf:about="/rss">
	<title>{{ app.title }}</title>
	<link>{{ app.url }}</link>
	<description>{{ app.description }}</description>

	
	<image rdf:resource=""/>
	
	<dc:creator>{{ app.author }}</dc:creator>
	<dc:date></dc:date>
	<items>
	<rdf:Seq>
	    {% for result in results %}
	        <rdf:li rdf:resource="{{ app.url }}key/{{ result.key }}" />
		{% endfor %}
	</rdf:Seq>
	</items>
</channel>

<image rdf:about="http://d.hatena.ne.jp/images/diary/c/claddvd/claddvd_m.gif">
  <title>{{ app.title }}</title>
  <link>{{ app.url }}</link>

  <url>http://d.hatena.ne.jp/images/diary/c/claddvd/claddvd_m.gif</url>  
</image>

{% for result in results %}

<item rdf:about="">
	<title>{{ result.title }}</title>
	<link>{{ app.url }}key/{{ result.key }}</link>
	<description>{{ result.memo }}
	</description>

	<content:encoded><![CDATA[
		{{ result.memo }}
]]></content:encoded>
	<dc:creator>{{ result.author }}</dc:creator>
	<dc:date>{{ result.created|rfc3339date }}</dc:date>
</item>

{% endfor %}

</rdf:RDF>
